<div ng-controller="StoreCtrl" ng-init="copyAction()" class="sui-form form-horizontal">
    <ul class="sui-breadcrumb">
        <li><a href="#/store/list">{{'store'|translate}}</a></li>
        <li class="active"> {{store.store_id?'edit':'add_new'|translate}}</li>
    </ul>
    <form name="storeForm" novalidate ng-submit="storecopy()">
        <div class="control-group">
            <label style="width: 109px;" class="control-label v-top">{{'选择小程序'|translate}}：</label>
            <div class="controls">
                <!-- <wx-app-list ng-model="new_wxappid" dft="1" ary="storeary" > </wx-app-list> -->
                <!-- callbacks="wxaacallback(app_id)" -->
                <wx-app-list ng-model="new_wxappid" dft="1" ary="storeary" storedata="1"> </wx-app-list>
            </div>
        </div>
        <div class="control-group">
            <label style="width: 109px;" class="control-label v-top">{{'选择被复制的店铺'|translate}}:</label>
            <div class="controls">
                <store-list ng-model="old_store_id" dft="1" home="1" backcall="getoldstore(store)"></store-list>
            </div>
        </div>
        <div class="control-group">
            <label style="width: 109px;" class="control-label v-top">{{'选择被复制的小程序'|translate}}：</label>
            <div class="controls">
                <wx-app-list ng-model="old_wxappid" dft="1" ary="storeary" getstoreid="old_store_id"> </wx-app-list>
                <!-- callbacks="wxaacallback(app_id)" -->
            </div>
        </div>
        <div class="control-group">
            <label class="control-label"></label>
            <div class="controls">
                <button type="submit" class="sui-btn btn-primary" ng-disabled="!storeForm.$valid">
                    {{'复制' | translate}}
                </button>
            </div>
        </div>
    </form>
</div>